package com.estructura.mapadrid;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class UsuarioNuevo extends Activity implements OnClickListener{

	 @Override
	 public void onCreate(Bundle savedInstanceState) {
	     super.onCreate(savedInstanceState);
	     setContentView(R.layout.usuario_nuevo);
	     
	     View boton = findViewById(R.id.registrar);
	     boton.setOnClickListener(this);
	 }
	 
	
	public void onClick(View v) {
		 if(v.getId()==findViewById(R.id.registrar).getId()){
			 Intent i = new Intent(this, MenuPrincipal.class );
	         startActivity(i);
		 }
		
	}
}
